package com.xuhuan.practice.dto.page;

import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: huan.xu
 * @create: 2024/6/11 23:13
 * @description: 分页结果对象
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageResult<T> {

  /**
   * 总条数
   */
  private Long total;
  /**
   * 当前页数据集合
   */
  private List<T> dataList;
}
